package com.ed100.sass.patter.birdge;

public class BridgeTest {

	public static void main(String[] args) {
		Sourceable s1 = new SourceObjOne();
		
		Sourceable s2 = new SourceObjTwo();
		
		Bridge bridge = new MyBridge();
		
		bridge.setSourceable(s1);
		bridge.doMethod();
		
		bridge.setSourceable(s2);
		bridge.doMethod();
	}

}
